import { createRouter, createWebHistory } from 'vue-router';



const router = createRouter({
    history: createWebHistory(),
    routes
});

// 全局导航守卫
router.beforeEach((to, from, next) => {
    next();
})

export default router